package finalproject.mobapp.Main;

import finalproject.mobapp.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MenuActivity extends Activity {
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_menu);
    }
    
    public void addPoiMenuHandle(View v) {
    	Intent intent = new Intent();
    	intent.setClass(this, AddPoiActivity.class);
    	
    	//MenuActivity.this.finish();
    	startActivity(intent);
    }
    
    public void editPoiLocationMenuHandle(View v) {
    	Intent intent = new Intent();
    	intent.setClass(this, EditPoiLocationActivity.class);

    	//MenuActivity.this.finish();
    	startActivity(intent);
    }
    
    public void arViewMenuHandle(View v) {
    	Intent intent = new Intent();
    	intent.setClass(this, ARConfigActivity.class);

    	//MenuActivity.this.finish();
    	startActivity(intent);
    }
}
